Silence a compiler warning
authorMatthias Clasen <mclasen@redhat.com>
Tue, 29 Sep 2020 02:12:31 +0000 (22:12 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 29 Sep 2020 11:04:07 +0000 (07:04 -0400)
These variables are not used anymore since
commit 11e4a4696713bc.

gtk/gtkeventcontrollerscroll.c

index 8b67f4ca914a30e440d1d003874baf3eb5a1a627..261d8bd21e3117b3b2dc0617429fca343f9b3120 100644 (file)
@@ -258,9 +258,6 @@ gtk_event_controller_scroll_handle_event (GtkEventController *controller,
   direction = gdk_scroll_event_get_direction (event);
   if (direction == GDK_SCROLL_SMOOTH)
     {
-      GdkDevice *device = gdk_event_get_device (event);
-      GdkInputSource input_source = gdk_device_get_source (device);
-
       gdk_scroll_event_get_deltas (event, &dx, &dy);
 
       if (!scroll->active)